#!/bin/bash
# 启动 PX4 SITL 模拟器
gnome-terminal -- bash -c "source /opt/ros/foxy/setup.bash;source /home/nvidia/hil_simulate/install/setup.bash;ros2 launch image_publisher_pkg image_publisher_pkg_launch.py; exec bash"

# 启动 MAVROS 节点
gnome-terminal -- bash -c "source /opt/ros/foxy/setup.bash; source /home/nvidia/hil_simulate/install/setup.bash; ros2 launch yolo_detect_pkg yolo_detect_launch.py;exec bash"


colcon build --packages-select 